@charset "utf-8";

.ws-addGoods {
    width: 780px;
    margin: 10px auto;
    border: 1px solid #ddd;
    #tab {
        background: #dfdfdf;
        padding-top: 5px;
        a {
            outline: 0;
            &:hover {
                color: #333;
            }
        }
        li {
            cursor: pointer;
        }
    }
    .row {
        margin-left: 0;
    }
}

.ws-btn {
    position: relative;
    float: left;
    padding: 0 5px 0 25px;
    background: #f0f0f0;
    border: 1px solid #999;
    cursor: pointer;
    line-height: 22px;
    white-space:nowrap;
    .ico-edit {
        position: absolute;
        left: 5px;
        top: 4px;
        width: 14px;
        height: 14px;
        background: url('../img/addGoods/btn_edit.gif') 0 0 no-repeat;
    }
    .ico-add {
        position: absolute;
        left: 5px;
        top: 4px;
        width: 14px;
        height: 14px;
        background: url('../img/addGoods/btn_add.gif') 0 0 no-repeat;
    }
    &.ext-add {
        margin: 3px 0 0 20px;
    }
    &.ext-price {
        padding-left: 5px;
        margin: 15px 0 15px 15px;
    }
}

.ico-asc-float {
    @include inline-block;
    width: 13px;
    height: 12px;
    background: url('../img/addGoods/icon_asc.gif') 0 0 no-repeat;
    cursor: pointer;
}

.ico-desc-float {
    @include inline-block;
    width: 13px;
    height: 12px;
    background: url('../img/addGoods/icon_desc.gif') 0 0 no-repeat;
    cursor: pointer;
}
.ico-del-float {
    @include inline-block;
    width: 16px;
    height: 16px;
    background: url('../img/addGoods/delecate.gif') 0 0 no-repeat;
    cursor: pointer;
}

#ws-goodsCon {
    li {
        padding-bottom: 20px;
    }
}
.form-horizontal {
    overflow: hidden;
}

.ws-setting {
    padding: 20px;
    overflow: hidden;
}

.ws-property {
    margin: 5px;
    overflow: hidden;
}

.ws-goods__top {
    width: 100%;
    height: 30px;
    background: #dfdfdf;
    overflow: hidden;
    p {
        float: left;
        line-height: 30px;
        margin-left: 20px;
    }
}

.ws-table {
    width: 100%;
    // border: 1px solid #999;
    th {
        background-color: #f6f9fa;
        text-align: center;
    }
    tr {
        min-height: 26px;
        line-height: 26px;
    }
    td {
        height: 24px;
        padding: 3px 0;
        text-align: center;
        input{
            height: 18px;
            margin: 0 5px;
            width: auto;
            padding: 0;
        }
        select{
            margin-left: 5px;
        }
        .ico-del {
            display: block;
            margin: 0 auto;
            cursor: pointer;
            width: 16px;
            height: 16px;
            background: url(../img/addGoods/delecate.gif) 0 0 no-repeat;
        }
    }
}

.ws-price {
    padding-bottom: 20px;
    overflow: hidden;
}

.ws-size {
    margin: 5px;
    overflow: hidden;
}

.ws-sizeL {
    float: left;
    width: 210px;
}

.ws-sizeL_inner {
    border: 1px solid #d8d8d8;
    padding: 5px 10px;
    margin-top: 10px;
    li {
        margin: 5px 0;
    }
}

.ws-sizeL__tips {
    margin-top: 30px;
    a {
        color: #3367ac;
        &:hover {
            color: #3367ac;
        }
    }
}
.ws-sizeR {
    float: right;
    width: 450px;
}
.ws-sizeR_inner {
    border: 1px solid #d8d8d8;
    padding: 5px;
    margin-top: 10px;
    li {
        display: none;
        &.ws-active {
            display: block;
        }
    }
}

.ws-color,.ws-text {
    overflow: hidden;
    margin: 20px 0;
}

.ws-color__inner {
    float: left;
    text-align: center;
    margin-right: 10px;
}

.ws-text__inner {
    float: left;
    font-size: 12px;
    margin-right: 10px;
    margin-bottom: 10px;
    padding: 3px 5px;
    border: 1px solid #ccc;
}

.ws-color__real {
    width: 30px;
    height: 30px;
    margin: 3px;
    background-color: #000;
}
